<nz-spin [nzSpinning]="isSpinning">
  <form nz-form>
    <nz-collapseset>
      <nz-collapse [nzTitle]="'基础信息'" [nzActive]="true" [nzDisabled]="false">

        <!--搜索<div style="color: red" >请先输入使用单位名称进行搜索，然后在下拉处进行选择！</div>-->
        <div nz-form-item nz-row>
          <div nz-form-label nz-col [nzSpan]="2">
          </div>
          <div nz-form-control nz-col [nzSpan]="7">
            <nz-input [nzSize]="'large'" [nzPlaceHolder]="'请输入使用公司名称支持模糊查询'" name="companyNamePep"
                      [(ngModel)]="companyNamePep"></nz-input>
          </div>
          <div nz-form-label nz-col [nzSpan]="3">
            <span nz-col [nzSm]="12" [nzXs]="12" style="margin-left: 12px;display: block;padding: 6px;" nz-button
                  nzType="primary" (click)="queryUseCompanyName()">搜索</span>
          </div>

          <div nz-form-label nz-col [nzSpan]="2">
          </div>
          <div nz-form-control nz-col [nzSpan]="7">
            <nz-input [nzSize]="'large'" [nzPlaceHolder]="'请输入维保公司名称支持模糊查询'" name="companyNamePep2"
                      [(ngModel)]="companyNamePep2"></nz-input>
          </div>
          <div nz-form-label nz-col [nzSpan]="3">
            <span nz-col [nzSm]="12" [nzXs]="12" style="margin-left: 12px;display: block;padding: 6px;" nz-button
                  nzType="primary" (click)="queryMaintenanceCompanyNameList()">搜索</span>
          </div>

        </div>

        <div nz-form-item nz-row>
          <div nz-form-label nz-col [nzSpan]="2">
            <label  nz-form-item-required>使用单位</label>
          </div>
          <div nz-form-control nz-col [nzSpan]="8" >
            <nz-select [nzOpen]="openData" nzAllowClear [nzPlaceHolder]="'请选择'" [nzShowSearch]="true"  [nzSize]="'large'"
                       [(ngModel)]="usedPartyId" name="partyId">
              <nz-option *ngFor="let item of partyList" [nzLabel]="item.partyName" [nzValue]="item.id"></nz-option>
            </nz-select>
          </div>

          <div nz-form-label nz-col [nzSpan]="4">
            <label  nz-form-item-required>维保单位</label>
          </div>
          <div nz-form-control nz-col [nzSpan]="8" >
            <nz-select [nzOpen]="openData2" nzAllowClear [nzPlaceHolder]="'请选择'" [nzShowSearch]="true"  [nzSize]="'large'"
                       [(ngModel)]="maintenanceId" name="partyId">
              <nz-option *ngFor="let item of partyList2" [nzLabel]="item.partyName" [nzValue]="item.id"></nz-option>
            </nz-select>
          </div>

        </div>
      </nz-collapse>
    </nz-collapseset>
    <div nz-form-item nz-row style="margin-bottom:8px;">
      <div nz-form-control nz-col [nzSpan]="8" [nzOffset]="11">
        <button nz-button [nzSize]="'large'" [nzType]="'primary'" (click)="queryData($event)">提交</button>
      </div>
    </div>
  </form>
</nz-spin>
